package Modele;

import java.io.IOException;
import java.util.Calendar;

import javax.swing.JTextArea;

import vue.Fenetre;
import xml.Commande;
import xml.CommandeProvider;

public class Main {


	public static void main(String[] args) throws IOException
	{
		//Parseur.INSTANCE.Parse("D:\\World of Warcraft\\TICKET\\flo log.txt", "0", "9");

		//p.Parse("2013-10-17 17:03:42", "2013-10-17 17:04:52");
		
		/*
		System.out.println(p.logs.size());
		long tS = Calendar.getInstance().getTime().getTime();
		p.filtrerOrigine("Darouniamj (Account: 729825)");
		System.out.println(p.logFiltres.size());
		p.logFiltres = p.logs;
		long tS2 = Calendar.getInstance().getTime().getTime();
		p.filtrerOrigine("729825");
		System.out.println(p.logFiltres.size());
		p.logFiltres = p.logs;
		long tS3 = Calendar.getInstance().getTime().getTime();
		p.filtrerOrigine("Darouniamj");
		System.out.println(p.logFiltres.size());
		p.logFiltres = p.logs;
		long tS4 = Calendar.getInstance().getTime().getTime();
		
		System.out.println("T1 "+(tS2-tS));
		System.out.println("T2 "+(tS3-tS2));
		System.out.println("T3 "+(tS4-tS3));
		*/
		
		//for(Log l : p.logFiltres)
		//	System.out.println(l);
		/*
		for(Commande s : p.commandes)
			System.out.println(s);
							
		System.out.println(p.logs.getFirst());
		*/
		Fenetre.INSTANCE.setVisible(true);
	}
	
	
}

